function Encrypt(theText) {
output = new String;
Temp = new Array();
Temp2 = new Array();
TextSize = theText.length;

for (i = 0; i < TextSize; i++) {
rnd = 14;
Temp[i] = theText.charCodeAt(i) + rnd;
Temp2[i] = rnd;
}

for (i = 0; i < TextSize; i++) {
output += String.fromCharCode(Temp[i], Temp2[i]);
}


return output;
}


function Paw_Length(password){
Length=password.length;

if (!(document.loginForm.agreecheckbox.checked)) {
   alert('because you do not agree; we deny  you');
  
   return false; 
 }

else{
   
	if(Length>15){
     alert('the length of your password is larger than 15 please redo');
     return false;
    }	
	if(Length<6){
     alert('the length of your password is smaller than 6 please redo');
     return false;
    }	

return true;
    }

}
